package com.lin.services;

import com.lin.pojo.Promotion;
import com.lin.pojo.Wares;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface PromotionService {
    List<Wares> getPromotionWares(Integer promotionId, Date endDate, String data);

    List<Wares> findPromotionWaresById(String waresId);

    Map<String, Object> insertPromotion(Map<String, String[]> map);

    Map<String, Object> insertPromotionWares(String promotionId, String waresId);

    Map<String, Object> deletePromotionWares(String promotionId, String waresId);

    List<Promotion> getPromotion(Map<String, String[]> condition);

    Map<String, Object> promotionOperation(String promotionId, String toolType);

    List<Map<String, Object>> getPromotionDetails(String promotionId);

}
